package cn.com.aiton.common.model.vip;


import cn.com.aiton.common.model.BaseDomain;
import cn.com.aiton.common.model.NodeDomain;

import java.util.List;

public class AitonExtendVipNodeDomain extends BaseDomain {
    private NodeDomain nodeDomain;
    //信号机的配置方案列表
    private Integer stagePatterns;
    //单位为秒，1分钟=60秒
    private Integer timeDiffs;
    // 节点序号
    private Integer sequence;

    public AitonExtendVipNodeDomain() {
    }

    public AitonExtendVipNodeDomain(NodeDomain nodeDomain, Integer stagePatterns, Integer timeDiffs) {
        this.nodeDomain = nodeDomain;
        this.stagePatterns = stagePatterns;
        this.timeDiffs = timeDiffs;
    }

    public AitonExtendVipNodeDomain(NodeDomain nodeDomain, Integer stagePatterns, Integer timeDiffs, Integer sequence) {
        this.nodeDomain = nodeDomain;
        this.stagePatterns = stagePatterns;
        this.timeDiffs = timeDiffs;
        this.sequence = sequence;
    }

    @Override
    public String toString() {
        return "AitonExtendVipAndNodesDomain{" +
                "nodeDomain=" + nodeDomain +
                ", stagePatterns=" + stagePatterns +
                ", timeDiffs=" + timeDiffs +
                ", sequence=" + sequence +
                '}';
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public NodeDomain getNodeDomain() {
        return nodeDomain;
    }

    public void setNodeDomain(NodeDomain nodeDomain) {
        this.nodeDomain = nodeDomain;
    }

    public Integer getStagePatterns() {
        return stagePatterns;
    }

    public void setStagePatterns(Integer stagePatterns) {
        this.stagePatterns = stagePatterns;
    }

    public Integer getTimeDiffs() {
        return timeDiffs;
    }

    public void setTimeDiffs(Integer timeDiffs) {
        this.timeDiffs = timeDiffs;
    }
}
